//package edu.sctu.alex.day20150521;
//
///**
//* Created by user03 on 2015/5/21.
//*/
//public class InfoSet {
//
//
//    public Teacher[] setTeacherInfo() {
//
//        Student student1 = new Student();
//
//        student1.setSname("小红");
//        student1.setSadd("成都市");
//        student1.setSage(18);
//        student1.setSsex("女");
//        student1.setSnumber(20001);
//        student1.setScourse(68);
//
//        Student student2 = new Student();
//
//        student2.setSname("小刚");
//        student2.setSadd("成都市");
//        student2.setSage(19);
//        student2.setSsex("男");
//        student2.setSnumber(20003);
//        student2.setScourse(84);
//
//        Student student3 = new Student();
//
//        student3.setSname("小明");
//        student3.setSadd("绵阳市");
//        student3.setSage(19);
//        student3.setSsex("男");
//        student3.setSnumber(20002);
//        student3.setScourse(76);
//
//        Student student4 = new Student();
//
//        student4.setSname("小花");
//        student4.setSadd("简阳市");
//        student4.setSage(17);
//        student4.setSsex("女");
//        student4.setSnumber(20004);
//        student4.setScourse(90);
//
//        Student[] studentx = {student1,student4};
//
//        Student[] studenty = {student2,student3};
//
//        Student[] studentz = {student3,student4};
//
//        Teacher teacher1 = new Teacher();
//
//        teacher1.setName("张三");
//        teacher1.setNumber(10001);
//        teacher1.setAge(45);
//        teacher1.setCoures("数据结构");
//        teacher1.setPostion("教授");
//        teacher1.setSex("男");
//        teacher1.setStudent(studentx);
//
//        Teacher teacher2 = new Teacher();
//
//        teacher2.setName("念可");
//        teacher2.setNumber(10011);
//        teacher2.setAge(24);
//        teacher2.setCoures("UI设计");
//        teacher2.setPostion("讲师");
//        teacher2.setSex("女");
//        teacher2.setStudent(studenty);
//
//        Teacher teacher3 = new Teacher();
//
//        teacher3.setName("春梅");
//        teacher3.setNumber(10021);
//        teacher3.setAge(34);
//        teacher3.setCoures("数据结构");
//        teacher3.setPostion("副教授");
//        teacher3.setSex("女");
//        teacher3.setStudent(studentz);
//
//        Teacher [] tea = {teacher1,teacher2,teacher3};
//            return tea;
//    }
//
//
//    public Student[] setCourse(){
//
//        InfoSet infoSet = new InfoSet();
//        Teacher[] tea = infoSet.setTeacherInfo();
//
//        TextCourse t1 = new TextCourse();
//        t1.course ="高等数学";
//
//        TextCourse t2 = new TextCourse();
//        t2.course ="线性代数";
//
//        TextCourse t3 = new TextCourse();
//        t3.course ="数据结构";
//
//        TextCourse t4 = new TextCourse();
//        t4.course ="大学英语";
//
//        TextCourse[] t00 ={t3,t2};
//        TextCourse[] t01 ={t1,t3};
//        TextCourse[] t02 ={t1,t3};
//        TextCourse[] t03 ={t2,t4};
//
//        Student[] stu = new Student[4];
//
//          stu[0] = tea[0].getStudent()[0];
//          stu[1] = tea[1].getStudent()[0];
//          stu[2] = tea[1].getStudent()[1];
//          stu[3] = tea[0].getStudent()[1];
//
//          stu[0].setTextCourses(t00);
//          stu[1].setTextCourses(t01);
//          stu[2].setTextCourses(t02);
//          stu[3].setTextCourses(t03);
//
//        return stu;
//
//    }
//}
